﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DOAN.DLL;
using DOAN.Public;

namespace DOAN.BLL
{
    public class KhachHangBLL
    {
        KhachHangDAL _khachHang;

        public KhachHangBLL()
        {
            _khachHang = new KhachHangDAL();
        }

        public DataTable Load()
        {
            return _khachHang.Load();
        }

        public int Insert(KhachHangPublic p)
        {

            return _khachHang.Insert(p);
        }

        public int Update(KhachHangPublic p)
        {
            return _khachHang.Update(p);
        }

        public int Delete(KhachHangPublic p)
        {
            return _khachHang.Delete(p);
        }
    }
}
